﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LIMS.Entities;

namespace LIMS.Service
{
    public interface IGroupManagementService
    {
        List<Group> GetAllGroups();

        List<User> GetAllUsers(); 

        bool Save(Group newGroup);

        bool Delete(Group dGroup);

        bool DeleteUserGroupLink(GroupUserLink oGUL);

        bool SaveUserGroupLink(GroupUserLink oGUL);

        int GetGroupIdByGroupName(string sGroupName);

        string GetGroupNameByGroupId(int Id);

        List<GroupUserLink> GetAssociatedUserGroupLinksbyUserId(int Id);

        List<Group> SearchGroupByName(string sGroupName);

    }
}
